package com.ruoyi.home.mapper;

import com.ruoyi.contract.domain.Cproject;
import com.ruoyi.finance.model.Pfinance;
import com.ruoyi.home.model.ProjectStatistics;
import com.ruoyi.project.model.BriefProject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HomeMapper {
    List<ProjectStatistics> selectHTStatistics(@Param("projectLeaderId") Long projectLeaderId,@Param("type") String type,@Param("startYear") Integer startYear,@Param("endYear") Integer endYear);
    List<ProjectStatistics> selectHKStatistics(@Param("projectLeaderId") Long projectLeaderId,@Param("finish") Integer finish,@Param("startYear") Integer startYear,@Param("endYear") Integer endYear);
    List<ProjectStatistics> selectJTStatistics(@Param("projectLeaderId") Long projectLeaderId,@Param("style") Integer style,@Param("startYear") Integer startYear,@Param("endYear") Integer endYear);
    List<Cproject> selectHtList(@Param("projectLeaderId") Long projectLeaderId,@Param("year")Integer year,@Param("type")String type);
    List<Pfinance> selectCwProject(@Param("projectLeaderId") Long projectLeaderId,@Param("year")Integer year);
    List<BriefProject> selectJtProject(@Param("projectLeaderId") Long projectLeaderId,@Param("finish") Boolean finish,@Param("year") Integer year);
}
